package com.eagle.coders.xml.transformation.beans;
/**
 * 
 */


import javax.xml.bind.annotation.XmlElement;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * @author Anees
 *
 */
public class Widget {
	
	private String property;
//	private String nodeLabel;
	private String resourceKey;
	private NodeLabel nodeLabel;
	private NodeType nodeType;
	private NodeValidation nodeValidation;
	/**
	 * @return the property
	 */
	@XmlElement(name = "property")
	
	public String getProperty() {
		return property;
	}
	/**
	 * @param property the property to set
	 */
	public void setProperty(String property) {
		this.property = property;
	}
	
	/**
	 * @return the resourceKey
	 */
	public String getResourceKey() {
		return resourceKey;
	}
	/**
	 * @param resourceKey the resourceKey to set
	 */
	public void setResourceKey(String resourceKey) {
		this.resourceKey = resourceKey;
	}
	//	/**
//	 * @return the nodeLabel
//	 */
//	@XmlElement(name="node-label")
//	public String getNodeLabel() {
//		return nodeLabel;
//	}
//	/**
//	 * @param nodeLabel the nodeLabel to set
//	 */
//	public void setNodeLabel(String nodeLabel) {
//		this.nodeLabel = nodeLabel;
//	}
	/**
	 * @return the nodeType
	 */
	@XmlElement(name="node-type")
	public NodeType getNodeType() {
		return nodeType;
	}
	/**
	 * @param nodeType the nodeType to set
	 */
	public void setNodeType(NodeType nodeType) {
		this.nodeType = nodeType;
	}
	/**
	 * @return the nodeValidation
	 */
	@XmlElement(name="node-validation")
	public NodeValidation getNodeValidation() {
		return nodeValidation;
	}
	/**
	 * @param nodeValidation the nodeValidation to set
	 */
	public void setNodeValidation(NodeValidation nodeValidation) {
		this.nodeValidation = nodeValidation;
	}
	/**
	 * @return the nodeLabel
	 */
	public NodeLabel getNodeLabel() {
		return nodeLabel;
	}
	/**
	 * @param nodeLabel the nodeLabel to set
	 */
	public void setNodeLabel(NodeLabel nodeLabel) {
		this.nodeLabel = nodeLabel;
	}
	
	
	
}